﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace AutoProcessService.Interface
{
    public abstract class IAutoProcess
    {
        /// <summary>
        /// 执行周期
        /// 值为5分钟的多少倍
        /// 默认设定为12倍。表示60分钟执行一次
        /// </summary>
        private static int interval = 12;
        public static int Interval
        {
            get
            {
                return interval; 
            }
            set
            {
                interval = value;
            }
        }
        public abstract void Execute(DateTime handleTime);
    }
}
